package com.sensologyhome_all.net;

import com.zhy.http.okhttp.callback.StringCallback;

import okhttp3.Call;
import okhttp3.Request;

/**
 * Created by xupeixian on 2017/3/1.
 */

public class MyStringCallback extends StringCallback
{
    @Override
    public void onBefore(Request request, int id)
    {
    }

    @Override
    public void onAfter(int id){
    }

    @Override
    public void onError(Call call, Exception e, int id)
    {
        e.printStackTrace();
    }

    @Override
    public void onResponse(String response, int id)
    {

    }

    @Override
    public void inProgress(float progress, long total, int id)
    {
    }
}
